package com.ecar.core.common.dao;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.common.entity.FlightPersonNum;

public interface FlightPersonNumMapper extends MybatisMapper{

	int deleteByPrimaryKey(String id);

    int insert(FlightPersonNum record);

    int insertSelective(FlightPersonNum record);

    FlightPersonNum selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(FlightPersonNum record);

    int updateByPrimaryKey(FlightPersonNum record);

	Integer queryGoPersonNum(@Param("date1")Date date1,@Param("date2") Date date2);
	
	Integer queryArrivePersonNum(@Param("date1")Date date1,@Param("date2") Date date2);
}